<!-- Login form area -->            
<div class="loginWrapper" style="margin:-250px 0 0 -160px">
	<div class="loginLogo"></div>
    <div class="loginPanel">
        <div class="head"><h5 class="iUser">Login</h5></div>
        <form action="<?php echo url_for("login/index") ?>" id="valid" class="mainForm" method="POST">
            <fieldset>
                <div class="loginRow">
                    <label for="req1">User:</label>
                    <div class="loginInput"><input type="text" name="user" value="" class="validate[required]" id="req1" /></div>
                    <div class="fix"></div>
                </div>
                
                <div class="loginRow">
                    <label for="req2">Password:</label>
                    <div class="loginInput"><input type="password" name="password" value="" class="validate[required]" id="req2" /></div>
                    <div class="fix"></div>
                </div>

                <div class="loginRow">
					<label for="req2"></label>
                    <div class="loginInput"> <input type="submit" value="Log me in" class="basicBtn submitForm" /></div>
                    <div class="fix"></div>      
				</div>  
               
            </fieldset>

        </form>
        
    </div>
    <div class="fix"></div>              
    <?php if ($error != "") {?>
                 <div class="nNote nFailure hideit" style="margin: 10px auto; width: 320px;">
    				<p><strong>FAILURE: </strong><?php echo $error; ?></p>
				</div>                  
   <?php } ?>
   
</div>